# @Version : 1.0
# @Author  : wxz
# @File    : common_exception.py
# @Time    : 2025/5/29 21:36
# @Describe: 描述...

from commons.exception_handler import BaseAPIException

class NoAccessTokenException(BaseAPIException):

    def __init__(self, ):
        self.status_code = 200
        self.code = 1000
        self.message = '需要访问令牌'

class SystemException(BaseAPIException):

    def __init__(self, ):
        self.status_code = 500
        self.code = 500
        self.message = '系统异常'
        self.detail = self.message